package com.yxq.mdt.app.modules.spikedetail.bean;

import com.yxq.mdt.app.modules.goodsdetail.bean.GoodsDetailBean;

import java.util.List;

/**
 * @author L
 * @time 2019-10-28
 * @describe 秒杀商品详情$
 */
public class SpikeGoodsDetailBean {


    /**
     * id : 3
     * attr : [{"attr_list":[{"attr_id":1,"attr_name":"默认"}],"num":199,"price":0,"no":"","pic":""}]
     * pic_list : [{"pic_url":"http://img11.360buyimg.com/n12/jfs/t15280/41/2549213166/234757/a9d0a20b/5aa8e4adN47ff17ef.jpg"},{"pic_url":"http://img11.360buyimg.com/n12/jfs/t15004/315/1255627065/203458/bc36c837/5a4b5e56N8aae27e8.jpg"},{"pic_url":"http://img11.360buyimg.com/n12/g15/M06/13/12/rBEhWVJ3FPwIAAAAAAFAU9pxE80AAE9WwMpl5AAAUBr983.jpg"},{"pic_url":"http://img11.360buyimg.com/n12/g13/M0A/02/11/rBEhU1Hw1o0IAAAAAABvJG-INbMAABY_gFck28AAG88382.jpg"},{"pic_url":"http://img11.360buyimg.com/n12/g13/M0A/02/11/rBEhVFHw1o4IAAAAAADGNQqrm2wAABY_gF8QJMAAMZN295.jpg"},{"pic_url":"http://img11.360buyimg.com/n12/jfs/t241/56/956572182/73861/f33c9d17/53f43617N3f04390f.jpg"}]
     * cover_pic : http://img11.360buyimg.com/n12/jfs/t15280/41/2549213166/234757/a9d0a20b/5aa8e4adN47ff17ef.jpg
     * attr_pic : http://img11.360buyimg.com/n12/jfs/t15280/41/2549213166/234757/a9d0a20b/5aa8e4adN47ff17ef.jpg
     * name : 迪奥（Dior）迪奥真我香水女士
     * price : 71.91
     * detail : <p><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15553/122/858373437/57521/f80957b1/5a407a62N2b96c5eb.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12544/189/2474583787/110761/735ae47a/5a407a62N70c23daf.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15742/218/871043488/20404/d4782afa/5a407a62N13031c91.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15430/302/985434347/126319/eb3531f5/5a407a62Nbfb6ac0b.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13879/8/2418862504/139353/7f3f82a9/5a407a62Nffeb0b09.jpg" alt=""/><br/></p><p><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12496/270/2459031464/153699/97d46448/5a407a5fNe2fbdd48.jpg" alt=""/></p><div><br/></div><p><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13999/162/1093451988/53134/b930839f/5a407a63Nc76fac74.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14944/89/1439592305/195033/977642a9/5a4f3e1bN347d6b90.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t16552/40/873471114/108268/c3c3bec4/5a407a61N6b1d9896.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14485/224/1019444068/53986/40fdbebb/5a407a64N79ed2979.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15124/346/932208503/44917/30c09ad1/5a407a63N9c16888e.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15730/94/867671488/38432/4f89ba50/5a407a64Nf77a071f.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13348/299/2484352940/57766/e0f0831f/5a407a5eNa5f796da.jpg" alt=""/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12574/13/2505626488/52227/e7768652/5a407a62N1a5686a9.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14557/273/1440340747/198452/1e0df3fe/5a4f3e3aN84745c26.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12547/85/2502282048/74191/e7b9a371/5a407a60N980d815c.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15655/9/824684562/91129/b1cfcbfb/5a407a5dNac49a0e8.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12217/165/2454539112/30687/cc0933e1/5a407a63Nfa6582de.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13879/362/2495393453/25937/581d3269/5a407a63N2c027260.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t12415/74/2462806177/38809/1c5309b/5a407a63N5915712c.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14584/253/994683921/35492/442c542/5a407a63N950615ad.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t16432/271/829667662/39836/ff6e2aad/5a407a64N5e67a1f5.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15019/3/1426638980/155654/227ddcdb/5a4f3e55Nc1375e7d.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14575/288/986349713/101490/c0ef8182/5a407a65N2a020b4d.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14269/65/968064267/53823/9fbaaccd/5a407a65N74d0b897.jpg" alt=""/><br/><br/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15577/73/841932802/85430/6877676a/5a407a65N9ff9753e.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13084/238/2337510577/51494/404416fd/5a407a66N2aa882b4.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15556/84/856003331/88533/e8d80ff3/5a407a66N30fe8d6a.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t13867/48/2507317134/103613/b9836ca1/5a407a66N88446f13.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14725/92/970003981/46809/71f6b022/5a407a65Ne23b1756.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t15094/250/1013731724/59603/d3d46de4/5a407a5eN2ae44bd8.jpg" alt=""/><br/><img src="http://img30.360buyimg.com/popWaterMark/jfs/t14740/307/993140217/42065/8f59be59/5a407a33N39f28db7.jpg" alt=""/></p>
     * sales_volume : 29
     * attr_group_list : [{"attr_group_id":1,"attr_group_name":"规格","attr_list":[{"attr_id":1,"attr_name":"默认"}]}]
     * num : 199
     * is_favorite : 0
     * service_list : []
     * original_price : 799.00
     * video_url :
     * unit : 瓶
     * miaosha : {"miaosha_num":20,"sell_num":0,"miaosha_price":799,"begin_time":1524362400,"end_time":1524365999,"now_time":1573616873,"buy_max":5,"buy_limit":"5","miaosha_data":{"attr_list":[{"attr_id":1,"attr_name":"默认"}],"num":20,"price":0,"no":"","pic":"","miaosha_price":"799.00","miaosha_num":20,"sell_num":0,"rest_num":20},"miaosha_goods_id":8,"old_small_price":"799.00","old_big_price":"799.00","new_small_price":"799.00","new_big_price":"799.00"}
     * use_attr : 0
     * max_share_price : 39.95
     * min_member_price : 71.91
     * is_share : true
     * is_level : true
     * is_member_price : true
     */

    private String id;
    private List<GoodsDetailBean.AttrBean> attr;
    private String cover_pic;
    private String attr_pic;
    private String name;
    private float price;
    private String detail;
    private int sales_volume;
    private int num;
    private int is_favorite;
    private float original_price;
    private String video_url;
    private String unit;
    private MiaoshaBean miaosha;
    private int use_attr;
    private String max_share_price;
    private String min_member_price;
    private boolean is_share;
    private boolean is_level;
    private boolean is_member_price;
    private List<PicListBean> pic_list;
    private List<AttrGroupListBean> attr_group_list;
    private List<String> service_list;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<GoodsDetailBean.AttrBean> getAttr() {
        return attr;
    }

    public void setAttr(List<GoodsDetailBean.AttrBean> attr) {
        this.attr = attr;
    }

    public String getCover_pic() {
        return cover_pic;
    }

    public void setCover_pic(String cover_pic) {
        this.cover_pic = cover_pic;
    }

    public String getAttr_pic() {
        return attr_pic;
    }

    public void setAttr_pic(String attr_pic) {
        this.attr_pic = attr_pic;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public int getSales_volume() {
        return sales_volume;
    }

    public void setSales_volume(int sales_volume) {
        this.sales_volume = sales_volume;
    }

    public int getNum() {
        return num;
    }

    public void setNum(int num) {
        this.num = num;
    }

    public int getIs_favorite() {
        return is_favorite;
    }

    public void setIs_favorite(int is_favorite) {
        this.is_favorite = is_favorite;
    }

    public float getOriginal_price() {
        return original_price;
    }

    public void setOriginal_price(float original_price) {
        this.original_price = original_price;
    }

    public String getVideo_url() {
        return video_url;
    }

    public void setVideo_url(String video_url) {
        this.video_url = video_url;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public MiaoshaBean getMiaosha() {
        return miaosha;
    }

    public void setMiaosha(MiaoshaBean miaosha) {
        this.miaosha = miaosha;
    }

    public int getUse_attr() {
        return use_attr;
    }

    public void setUse_attr(int use_attr) {
        this.use_attr = use_attr;
    }

    public String getMax_share_price() {
        return max_share_price;
    }

    public void setMax_share_price(String max_share_price) {
        this.max_share_price = max_share_price;
    }

    public String getMin_member_price() {
        return min_member_price;
    }

    public void setMin_member_price(String min_member_price) {
        this.min_member_price = min_member_price;
    }

    public boolean isIs_share() {
        return is_share;
    }

    public void setIs_share(boolean is_share) {
        this.is_share = is_share;
    }

    public boolean isIs_level() {
        return is_level;
    }

    public void setIs_level(boolean is_level) {
        this.is_level = is_level;
    }

    public boolean isIs_member_price() {
        return is_member_price;
    }

    public void setIs_member_price(boolean is_member_price) {
        this.is_member_price = is_member_price;
    }

    public List<PicListBean> getPic_list() {
        return pic_list;
    }

    public void setPic_list(List<PicListBean> pic_list) {
        this.pic_list = pic_list;
    }

    public List<AttrGroupListBean> getAttr_group_list() {
        return attr_group_list;
    }

    public void setAttr_group_list(List<AttrGroupListBean> attr_group_list) {
        this.attr_group_list = attr_group_list;
    }

    public List<String> getService_list() {
        return service_list;
    }

    public void setService_list(List<String> service_list) {
        this.service_list = service_list;
    }

    public static class MiaoshaBean {
        /**
         * miaosha_num : 20
         * sell_num : 0
         * miaosha_price : 799
         * begin_time : 1524362400
         * end_time : 1524365999
         * now_time : 1573616873
         * buy_max : 5
         * buy_limit : 5
         * miaosha_data : {"attr_list":[{"attr_id":1,"attr_name":"默认"}],"num":20,"price":0,"no":"","pic":"","miaosha_price":"799.00","miaosha_num":20,"sell_num":0,"rest_num":20}
         * miaosha_goods_id : 8
         * old_small_price : 799.00
         * old_big_price : 799.00
         * new_small_price : 799.00
         * new_big_price : 799.00
         */

        private int miaosha_num;
        private int sell_num;
        private float miaosha_price;
        private int begin_time;
        private int end_time;
        private int now_time;
        private int buy_max;
        private String buy_limit;
        private MiaoshaDataBean miaosha_data;
        private String miaosha_goods_id;
        private String old_small_price;
        private String old_big_price;
        private String new_small_price;
        private String new_big_price;

        public int getMiaosha_num() {
            return miaosha_num;
        }

        public void setMiaosha_num(int miaosha_num) {
            this.miaosha_num = miaosha_num;
        }

        public int getSell_num() {
            return sell_num;
        }

        public void setSell_num(int sell_num) {
            this.sell_num = sell_num;
        }

        public float getMiaosha_price() {
            return miaosha_price;
        }

        public void setMiaosha_price(float miaosha_price) {
            this.miaosha_price = miaosha_price;
        }

        public int getBegin_time() {
            return begin_time;
        }

        public void setBegin_time(int begin_time) {
            this.begin_time = begin_time;
        }

        public int getEnd_time() {
            return end_time;
        }

        public void setEnd_time(int end_time) {
            this.end_time = end_time;
        }

        public int getNow_time() {
            return now_time;
        }

        public void setNow_time(int now_time) {
            this.now_time = now_time;
        }

        public int getBuy_max() {
            return buy_max;
        }

        public void setBuy_max(int buy_max) {
            this.buy_max = buy_max;
        }

        public String getBuy_limit() {
            return buy_limit;
        }

        public void setBuy_limit(String buy_limit) {
            this.buy_limit = buy_limit;
        }

        public MiaoshaDataBean getMiaosha_data() {
            return miaosha_data;
        }

        public void setMiaosha_data(MiaoshaDataBean miaosha_data) {
            this.miaosha_data = miaosha_data;
        }

        public String getMiaosha_goods_id() {
            return miaosha_goods_id;
        }

        public void setMiaosha_goods_id(String miaosha_goods_id) {
            this.miaosha_goods_id = miaosha_goods_id;
        }

        public String getOld_small_price() {
            return old_small_price;
        }

        public void setOld_small_price(String old_small_price) {
            this.old_small_price = old_small_price;
        }

        public String getOld_big_price() {
            return old_big_price;
        }

        public void setOld_big_price(String old_big_price) {
            this.old_big_price = old_big_price;
        }

        public String getNew_small_price() {
            return new_small_price;
        }

        public void setNew_small_price(String new_small_price) {
            this.new_small_price = new_small_price;
        }

        public String getNew_big_price() {
            return new_big_price;
        }

        public void setNew_big_price(String new_big_price) {
            this.new_big_price = new_big_price;
        }

        public static class MiaoshaDataBean {
            /**
             * attr_list : [{"attr_id":1,"attr_name":"默认"}]
             * num : 20
             * price : 0
             * no :
             * pic :
             * miaosha_price : 799.00
             * miaosha_num : 20
             * sell_num : 0
             * rest_num : 20
             */

            private int num;
            private int price;
            private String no;
            private String pic;
            private String miaosha_price;
            private int miaosha_num;
            private int sell_num;
            private int rest_num;
            private List<AttrListBean> attr_list;

            public int getNum() {
                return num;
            }

            public void setNum(int num) {
                this.num = num;
            }

            public int getPrice() {
                return price;
            }

            public void setPrice(int price) {
                this.price = price;
            }

            public String getNo() {
                return no;
            }

            public void setNo(String no) {
                this.no = no;
            }

            public String getPic() {
                return pic;
            }

            public void setPic(String pic) {
                this.pic = pic;
            }

            public String getMiaosha_price() {
                return miaosha_price;
            }

            public void setMiaosha_price(String miaosha_price) {
                this.miaosha_price = miaosha_price;
            }

            public int getMiaosha_num() {
                return miaosha_num;
            }

            public void setMiaosha_num(int miaosha_num) {
                this.miaosha_num = miaosha_num;
            }

            public int getSell_num() {
                return sell_num;
            }

            public void setSell_num(int sell_num) {
                this.sell_num = sell_num;
            }

            public int getRest_num() {
                return rest_num;
            }

            public void setRest_num(int rest_num) {
                this.rest_num = rest_num;
            }

            public List<AttrListBean> getAttr_list() {
                return attr_list;
            }

            public void setAttr_list(List<AttrListBean> attr_list) {
                this.attr_list = attr_list;
            }

            public static class AttrListBean {
                /**
                 * attr_id : 1
                 * attr_name : 默认
                 */

                private int attr_id;
                private String attr_name;

                public int getAttr_id() {
                    return attr_id;
                }

                public void setAttr_id(int attr_id) {
                    this.attr_id = attr_id;
                }

                public String getAttr_name() {
                    return attr_name;
                }

                public void setAttr_name(String attr_name) {
                    this.attr_name = attr_name;
                }
            }
        }
    }

    public static class PicListBean {
        /**
         * pic_url : http://img11.360buyimg.com/n12/jfs/t15280/41/2549213166/234757/a9d0a20b/5aa8e4adN47ff17ef.jpg
         */

        private String pic_url;

        public String getPic_url() {
            return pic_url;
        }

        public void setPic_url(String pic_url) {
            this.pic_url = pic_url;
        }
    }

    public static class AttrGroupListBean {
        /**
         * attr_group_id : 1
         * attr_group_name : 规格
         * attr_list : [{"attr_id":1,"attr_name":"默认"}]
         */

        private int attr_group_id;
        private String attr_group_name;
        private List<AttrListBeanX> attr_list;

        public int getAttr_group_id() {
            return attr_group_id;
        }

        public void setAttr_group_id(int attr_group_id) {
            this.attr_group_id = attr_group_id;
        }

        public String getAttr_group_name() {
            return attr_group_name;
        }

        public void setAttr_group_name(String attr_group_name) {
            this.attr_group_name = attr_group_name;
        }

        public List<AttrListBeanX> getAttr_list() {
            return attr_list;
        }

        public void setAttr_list(List<AttrListBeanX> attr_list) {
            this.attr_list = attr_list;
        }

        public static class AttrListBeanX {
            /**
             * attr_id : 1
             * attr_name : 默认
             */

            private int attr_id;
            private String attr_name;

            public int getAttr_id() {
                return attr_id;
            }

            public void setAttr_id(int attr_id) {
                this.attr_id = attr_id;
            }

            public String getAttr_name() {
                return attr_name;
            }

            public void setAttr_name(String attr_name) {
                this.attr_name = attr_name;
            }
        }
    }
}
